services.borgbackup.jobs.<name>.exclude

Exclude paths matching any of the given patterns. See borg help patterns for pattern syntax.

Can not be set when createCommand is set to import-tar.

Type
list of string
Default
[ ]
Example
[
  "/home/*/.cache"
  "/nix"
]
Declared
<nixpkgs/nixos/modules/services/backup/borgbackup.nix>